import {
  createApp
} from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import {
  Field,
  Dialog,
  Button,
  Form,
  NoticeBar,
  Swipe,
  SwipeItem,
  Toast
} from 'vant';

// js
import './utils/rem.js'
// css
import 'vant/lib/index.css';
import './css/common.css'


const app = createApp(App)
app.use(store)
app.use(router)
app.use(Field).use(Dialog).use(Button).use(Form).use(NoticeBar).use(Swipe).use(SwipeItem).use(Toast)
app.mount('#app')